package cn.edu.ujn.project.supermarket.extendbean;

import cn.edu.ujn.project.common.annotation.Excel;
import cn.edu.ujn.project.supermarket.domain.PurchaseReport;

public class PurchaseReportChild extends PurchaseReport {

	 @Excel(name = "申请人名字")
	    protected String userName;
	 @Excel(name = "商品名")
	    protected String name;
	    @Excel(name = "供应商名")
	   	protected String supplierName;
		
	public PurchaseReportChild() {
		super();
	}

	public PurchaseReportChild(String userName, String name,String supplierName,PurchaseReport p) {
		super(p);
		this.userName = userName;
		this.name = name;
		this.supplierName=supplierName;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "purchaseReportChild [userName=" + userName + ", name=" + name + ", supplierId=" + supplierId
				+ ", purchaseReportId=" + purchaseReportId + ", barCode=" + barCode + ", quantity=" + quantity
				+ ", application=" + application + "]";
	}
	 
}
